class CreateOperators < ActiveRecord::Migration
  def self.up
    create_table :operators do |t|
      t.string :login, :limit => 80, :default => nil, :null => false
      t.string :password, :limit => 40, :default => nil, :null => false
      t.string :email, :limit => 120, :default => nil, :null => false
      
      t.datetime :created_at
    end
  end

  def self.down
    drop_table :operators
  end
end